home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Games / Chess / Source / Board.h < prev    next >
Text File  |  1994-04-01  |  601b  |  28 lines

  1. @interface Board : Control
  2. {
  3.   id square[8][8];
  4.   id backBitmap;
  5.  
  6.   void *print_image;
  7.   int print_size;
  8.   int print_pwide;
  9.   int print_phigh;
  10.   int print_bps;
  11.   int print_ssp;
  12.   int print_config;
  13.   int print_mask;
  14. }
  15.  
  16. + newFrame:(const NXRect *) f;
  17. - slidePieceFrom: (int)r1 : (int)c1 to: (int)r2 : (int)c2;
  18. - drawSelf:(const NXRect *) f :(int)rectCount;
  19. - setupPieces;
  20. - printPSCode: sender;
  21. - (int)typeAt: (int)r : (int)c;
  22. - layoutBoard: (short *)b color: (short *)c;
  23. - highlightSquareAt: (int)r : (int) c;
  24. - flashSquareAt: (int)r : (int) c;
  25. - placePiece: (const char *)p at: (int)r : (int)c;
  26. @end
  27.  
  28.